/*
 * @Author: dingyuwen ding_yuwen@163.com
 * @Date: 2023-02-13 14:56:49
 * @LastEditTime: 2023-04-14 09:37:14
 * @LastEditors: DingYuwen 43669762+DingYuwen@users.noreply.github.com
 * @Description:
 */
import { Flex, SimpleGrid, Text } from '@chakra-ui/react';

import { useTranslation } from 'react-i18next';

import Account from '@/features/Setting/Account';
import Password from '@/features/Setting/Password';
export default function Setting() {
  const { t } = useTranslation();
  return (
    <Flex direction="column" w="full">
      <Text textAlign="center" fontSize={30} py={3} color="gray.700">
        {t('profile.updateInfo')}
      </Text>
      <SimpleGrid
        py="4"
        w="full"
        columns={{ base: 1, md: 2 }}
        spacing={{ base: 5, lg: 8 }}
      >
        <Account />
        <Password />
      </SimpleGrid>
    </Flex>
  );
}
